﻿Imports iConverter.Contracts
Imports iConverter.Extensions


Imports Microsoft.International.Converters.TraditionalChineseToSimplifiedConverter


''' <summary>
''' 简繁体转换后期处理提供类
''' </summary>
''' <remarks></remarks>
Public Class ChinesePostProcessing
    Inherits PostProcessing(Of My.MySettings)

    Public Sub New(provider As PluginProvider(Of My.MySettings))
        MyBase.New(provider, New Guid("A25E093B-56BD-4BF8-BA50-27CD053B91B3"),
                    "简繁体转换后期处理",
                    "提供简繁体转换功能",
                    My.Resources.Han_32x32, My.Resources.Han_32x32 )


    End Sub


    Protected Overrides Function CheckRun() As Boolean
        Return True
    End Function

    Protected Overrides Function GenerateProcessings() As System.Collections.Generic.List(Of iConverter.Extensions.Processor(Of My.MySettings))
        Dim list As New List(Of iConverter.Extensions.Processor(Of My.MySettings))

        list.Add(New ToSimplifiedProcessor)
        list.Add(New ToTraditionalProcessor)

        Return list

    End Function
End Class
